<!--登录页面-->
<!--一个页面一个模块，模块要以页面的形式来划分-->

<div class="container" ng-app="loginApp" ng-controller="loginController" >
    <!--标题-->
    <div class="col-md-7 col-md-offset-5" >
        <div class="page-header ">
            <h1 style="padding-left: 10px;">Mr.Chen个人网站</h1>
        </div>
    </div>
    <!--登录表单-->
    <div class="col-md-5" style="color: black"><p style="text-align: center"><b style="font-size: 30px">welcome to Personal website</b></p><span style="font-size: 20px">欢迎你的到来！</span><p style="font-size: 20px;zoom: 1.2;padding-top: 20px;">这里是前端交流网站</p> </div>
    <form ng-submit="postForm()" class="col-md-6">
        <div id="massage" class="well" ng-show="message">{{message}}</div>
        <div class="form-group">
            <label  style="color: white">用户名</label>
            <input type="text" class="form-control" name="username" placeholder="请输入用户名" ng-model="formData.username">
            <span class="help-block" ng-show="errorUsername">{{errorUsername}}</span>
        </div>
        <div class="form-group">
            <label  style="color: white">密码</label>
            <input type="password" class="form-control" name="password" placeholder="请输入密码" ng-model="formData.password">
            <span class="help-block" ng-show="errorPassword">{{errorPassword}}</span>
        </div>
        <button style="opacity: 0.6" type="submit" class="btn btn-success btn-block btn-lg">提交</button>
    </form>
</div>
<script>

</script>